package com.devplatform.pojo.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SearchVo {
    private Integer currentPage;
    private Integer pageSize;
    private String keyword;
    private List<String> categories;

    public SearchVo() {
        currentPage = 1;
        pageSize = 10;
        categories = new ArrayList<String>();
    }

    public SearchVo(Integer currentPage, Integer pageSize, String keyword, List<String> categories) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.keyword = keyword;
        this.categories = categories;
    }
}
